import jsonp from '@/common/jsonp'
import { commParams, options } from './config'

export function getBannerImgs () {
  const url = 'https://c.y.qq.com/musichall/fcgi-bin/fcg_yqqhomepagerecommend.fcg'
  // var url = 'http://hotword.sogoucdn.com/hot_word.json'
  const data = Object.assign({}, commParams, {
    platform: 'h5',
    uin: 0,
    needNewCode: 1
  })
  options.name = 'getBannerImgs'
  return jsonp(url, data, options)
}
